package com.yuyou.activity.group.service.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class ActivityGroupbuy implements Serializable {
    /**
     * id
     */
    private Long activityGroupbuyId;

    /**
     * 项目代码
     */
    private String projectCode;

    /**
     * 活动名称
     */
    private String activityName;

    /**
     * 0：初始化，1：满标成功，2：差额成功，3，流失
     */
    private Integer status;

    /**
     * 用户id
     */
    private Long activityGroupbuyUserId;

    /**
     * 活动类型：0：过期作废，1：过期成功
     */
    private Integer type;

    /**
     * 团购类型：0：单人买，1：团购
     */
    private Integer groupType;

    /**
     * 总人数
     */
    private Integer total;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 结束时间
     */
    private Date closeTime;

    private static final long serialVersionUID = 1L;

    public Long getActivityGroupbuyId() {
        return activityGroupbuyId;
    }

    public void setActivityGroupbuyId(Long activityGroupbuyId) {
        this.activityGroupbuyId = activityGroupbuyId;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getActivityGroupbuyUserId() {
        return activityGroupbuyUserId;
    }

    public void setActivityGroupbuyUserId(Long activityGroupbuyUserId) {
        this.activityGroupbuyUserId = activityGroupbuyUserId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getGroupType() {
        return groupType;
    }

    public void setGroupType(Integer groupType) {
        this.groupType = groupType;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
    }
}